Fix casting problem in gmodule code.
authorBrian Cameron <Brian.Cameron@sun.com>
Fri, 24 Apr 2009 23:16:15 +0000 (18:16 -0500)
committerBrian Cameron <Brian.Cameron@sun.com>
Fri, 24 Apr 2009 23:16:15 +0000 (18:16 -0500)
commitf43a78a892981b220ecbb90245da3c8370cab2fe
tree3fba0bd3fd340ea19475e1bd89636712e885fcf7
parent28a6068eb9bb748c49e8c1efde7cb881e46e02f5
Fix casting problem in gmodule code.

This fixes bug 579884.  Previously the return value of g_slist_find_custom was
being recasted as type (GtkModuleInfo *).  This patch sets the return value
to a temporary variable of type (GSList *), and sets info to temp->data.  This
avoids a crashing problem.
gtk/gtkmodules.c